package com.kingwang.threadtest;

public class ThreadTest implements Runnable {
	@Override
	public void run(){
		for(int i=0;i<90;i++){
			System.out.println(Thread.currentThread().getName());
		}
	}
	public static void main(String[] args) {
			Thread th=new Thread(new ThreadTest());
			Thread th2=new Thread(new ThreadTest());
			th.start();
			th2.start();
	}

}
